package entity;

import java.util.Date;

public class User {

	private int id; //用户编号
	private String loginId; //用户登录账号
	private String password; //登录密码
	private String nickname;//交易密码
	private String tradPassword;//昵称
	private String realname;//真实名字
	private String sex;//性别
	private Date birthday; //出生日期
	private String address; //住址
	private String identityCard; //身份证
	private String telphone; //手机号码
	private double balance; //余额
	private String userPic; //账号图像图片路径
	private String userType; //账号类型（user、shop、admin）
	private String userStatus; //账号状态（common、confined）
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getLoginId() {
		return loginId;
	}
	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getTradPassword() {
		return tradPassword;
	}
	public void setTradPassword(String tradPassword) {
		this.tradPassword = tradPassword;
	}
	public String getRealname() {
		return realname;
	}
	public void setRealname(String realname) {
		this.realname = realname;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getIdentityCard() {
		return identityCard;
	}
	public void setIdentityCard(String identityCard) {
		this.identityCard = identityCard;
	}
	public String getTelphone() {
		return telphone;
	}
	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}
	public double getBalance() {
		return balance;
	}
	public void setBalance(double balance) {
		this.balance = balance;
	}
	public String getUserPic() {
		return userPic;
	}
	public void setUserPic(String userPic) {
		this.userPic = userPic;
	}
	public String getUserType() {
		return userType;
	}
	public void setUserType(String userType) {
		this.userType = userType;
	}
	public String getUserStatus() {
		return userStatus;
	}
	public void setUserStatus(String userStatus) {
		this.userStatus = userStatus;
	}
	public User(int id, String loginId, String password, String nickname, String tradPassword, String realname,
			String sex, Date birthday, String address, String identityCard, String telphone, double balance,
			String userPic, String userType, String userStatus) {
		super();
		this.id = id;
		this.loginId = loginId;
		this.password = password;
		this.nickname = nickname;
		this.tradPassword = tradPassword;
		this.realname = realname;
		this.sex = sex;
		this.birthday = birthday;
		this.address = address;
		this.identityCard = identityCard;
		this.telphone = telphone;
		this.balance = balance;
		this.userPic = userPic;
		this.userType = userType;
		this.userStatus = userStatus;
	}
	public User(String loginId, String password, String nickname, String tradPassword, String realname, String sex,
			Date birthday, String address, String identityCard, String telphone, double balance, String userPic,
			String userType, String userStatus) {
		super();
		this.loginId = loginId;
		this.password = password;
		this.nickname = nickname;
		this.tradPassword = tradPassword;
		this.realname = realname;
		this.sex = sex;
		this.birthday = birthday;
		this.address = address;
		this.identityCard = identityCard;
		this.telphone = telphone;
		this.balance = balance;
		this.userPic = userPic;
		this.userType = userType;
		this.userStatus = userStatus;
	}
	public User() {
		super();
	}
	
}
